﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataDesign.MPP.ServerManager.ObjectClass
{
    public class SearchCriteria
    {
        public string ProjectName { get; set; }
        public string TaskName { get; set; }
        public string Customer { get; set; }
        public Nullable<int> ProgressFrom { get; set; }
        public Nullable<int> ProgressTo { get; set; }
        public Nullable<DateTime> StartDateFrom { get; set; }
        public Nullable<DateTime> StartDateTo { get; set; }
        public Nullable<DateTime> FinishDateFrom { get; set; }
        public Nullable<DateTime> FinishDateTo { get; set; }
        public Nullable<CostEnum> CostType { get; set; }
        public Nullable<Double> CostFrom { get; set; }
        public Nullable<Double> CostTo { get; set; }

        public string ResourceName { get; set; }

        public SearchCriteria() { }
    }

    public enum CostEnum
    {         
        Estimate,
        Real,
        Both
    }
}
